<?php
	/**
	 * @package AmpleHarvest
	 */
	namespace ampleharvest\code;
	use\ampleharvest\code\cConfig;
	/**
	 * Includes Path Info Class
	 */
	require_once 'cConfig.php';
	/**
	 * @brief This class holds all the Locations for Rest Services used
	 *
	 * - Revision History
	 *  - 0.1
	 * 	 - <b>Date</b>: 02 SEP 2011
	 * 	 - <b>Author</b>: Randy Blancett
	 * 	  - Initial Version
	 *
	 * @author Randy Blancett
	 * @version 0.1
	 * @ingroup code config classes
	 */
	if (!class_exists("ampleharvest\code\cRestServices"))
	{
		class cRestServices
		{

			public static function get_AHDataService($str_ID = '')
			{
				return cConfig::C_STR_AMPLE_SILO_BASE_URL . "/amplesilo/services/content/" . $str_ID;
				//return "http://127.0.0.1/AmpleHarvest/External/rest/data/data.php?id=" . $str_ID;
			}

			public static function get_AHValid($str_ID = '')
			{
				return cConfig::C_STR_AMPLE_SILO_BASE_URL . "/amplesilo/services/content/valid";
			}

			public static function get_AHProperties($str_ID = '')
			{
				return cConfig::C_STR_AMPLE_SILO_BASE_URL . "/amplesilo/services/content/property";
			}

			public static function get_AHIndex($str_ID = '')
			{
				return cConfig::C_STR_AMPLE_SILO_BASE_URL . "/amplesilo/services/content/indexed";
			}

			public static function get_Views($str_ID = '')
			{
				return cConfig::C_STR_AMPLE_SILO_BASE_URL . "/amplesilo/services/property/view/?id=$str_ID";
			}

			public static function put_Views()
			{
				return cConfig::C_STR_AMPLE_SILO_BASE_URL . "/amplesilo/services/property/view/";
			}

		}
	}
